﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    /// <summary>
    /// 客诉单明细
    /// </summary>
    public class CustomerComplaintsDetail 
    {
        /// <summary>
        /// 自增列
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int ID { get; set; }
        public string DocNum { get; set; } = string.Empty;
        public string Bianhao { get; set; } = string.Empty;
        public string Pingming { get; set; } = string.Empty;
        public string Guige { get; set; } = string.Empty;
        public string Chengfeng { get; set; } = string.Empty;
        public string Kezhong { get; set; } = string.Empty;
        public string Menfu { get; set; } = string.Empty;
        public string Yanse { get; set; } = string.Empty;
        /// <summary>
        /// 缸号
        /// </summary>
        public string Ganghao { get; set; } = string.Empty;
        /// <summary>
        /// 订单号
        /// </summary>
        public string OrderNum { get; set; } = string.Empty;
        /// <summary>
        /// 合同号
        /// </summary>
        public string ContractNum { get; set; } = string.Empty;
        /// <summary>
        /// 客户名称
        /// </summary>
        public string CustomerName { get; set; } = string.Empty;
        /// <summary>
        /// 进仓数量
        /// </summary>
        public decimal QuantityPpurchased { get; set; }
        /// <summary>
        /// 客诉数量
        /// </summary>
        public decimal QuantityComplaints { get; set; }
        /// <summary>
        /// 进仓日期
        /// </summary>
        public DateTime PpurchasedDate { get; set; } = DateTime.Now;
        /// <summary>
        /// 布料批号
        /// </summary>
        public string LotNumber { get; set; } = string.Empty;

    }
}
